//
//  PersonOne.h
//  OCLearning
//
//  Created by Caldremch on 2018/5/27.
//  Copyright © 2018年 Caldremch. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^myBlock) (NSString *name, int age);
@interface PersonOne : NSObject<NSCoding>

@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) int age;

+(instancetype)personWithName:(NSString *)name age:(int)age;
-(void)exercise:(myBlock) block;


@end
